PREVIEW: We've learned how to loop through a list and even access items in a list using indexes. But what if you don't know the index? You can get the index of a value stored in a list using the value!
- Click Run and play Word Solve with a friend!
- Look at line 25. This code is getting the index of an item in a list by using its value, so we know where it is!
- Click Submit and Next to build your own Word Solve game!
To navigate the page using the TAB key, first press ESC to exit the code editor.